1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
3 <META http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
4 <link rel=
"stylesheet" type=
"text/css" href=
"../refdoc.css">
5 <title>Namespace: System.Collections
</title>
8 <h2>Namespace: System.Collections
</h2>
11 <p> The
<a href=
"../System.Collections/System.Collections.html">System.Collections
</a> namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hashtables and dictionaries.
</p>
14 <h3>Members of System.Collections Namespace
</h3><b>Classes
</b><dl>
16 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
18 <th bgcolor=
"#C0C0C0">Class
</th>
19 <th bgcolor=
"#C0C0C0">
24 <td width=
"30%"><a href=
"types/ArrayList.html">class ArrayList
</a></td>
25 <td width=
"60%"> Implements the
<a href=
"../System.Collections/types/IList.html">IList
</a> interface using an array whose size is dynamically increased as required.
29 <td width=
"30%"><a href=
"types/BitArray.html">class BitArray
</a></td>
30 <td width=
"60%"> Manages a compact array of bit values, which are represented as Booleans, where indicates that the bit is on (
1) and indicates the bit is off (
0).
34 <td width=
"30%"><a href=
"types/CaseInsensitiveComparer.html">class CaseInsensitiveComparer
</a></td>
35 <td width=
"60%"> Compares two objects for equivalence, ignoring the case of strings.
39 <td width=
"30%"><a href=
"types/CaseInsensitiveHashCodeProvider.html">class CaseInsensitiveHashCodeProvider
</a></td>
40 <td width=
"60%"> Supplies a hash code for an object, using a hashing algorithm that ignores the case of strings.
44 <td width=
"30%"><a href=
"types/CollectionBase.html">class CollectionBase
</a></td>
45 <td width=
"60%"> Provides the base class for a strongly typed collection.
49 <td width=
"30%"><a href=
"types/Comparer.html">class Comparer
</a></td>
50 <td width=
"60%"> Compares two objects for equivalence, where string comparisons are case-sensitive.
54 <td width=
"30%"><a href=
"types/DictionaryBase.html">class DictionaryBase
</a></td>
55 <td width=
"60%"> Provides the base class for a strongly typed collection of key-and-value pairs.
59 <td width=
"30%"><a href=
"types/Hashtable.html">class Hashtable
</a></td>
60 <td width=
"60%"> Represents a collection of key-and-value pairs that are organized based on the hash code of the key.
64 <td width=
"30%"><a href=
"types/Queue.html">class Queue
</a></td>
65 <td width=
"60%"> Represents a first-in, first-out collection of objects.
69 <td width=
"30%"><a href=
"types/ReadOnlyCollectionBase.html">class ReadOnlyCollectionBase
</a></td>
70 <td width=
"60%"> Provides the base class for a strongly typed read-only collection.
74 <td width=
"30%"><a href=
"types/SortedList.html">class SortedList
</a></td>
75 <td width=
"60%"> Represents a collection of key-and-value pairs that are sorted by the keys and are accessible by key and by index.
79 <td width=
"30%"><a href=
"types/Stack.html">class Stack
</a></td>
80 <td width=
"60%"> Represents a simple last-in-first-out collection of objects.
85 </dl><br><b>Interfaces
</b><dl>
87 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
89 <th bgcolor=
"#C0C0C0">Interface
</th>
90 <th bgcolor=
"#C0C0C0">
95 <td width=
"30%"><a href=
"types/ICollection.html">interface ICollection
</a></td>
96 <td width=
"60%"> Defines size, enumerators and synchronization methods for all collections.
100 <td width=
"30%"><a href=
"types/IComparer.html">interface IComparer
</a></td>
101 <td width=
"60%"> Exposes a method that compares two objects.
105 <td width=
"30%"><a href=
"types/IDictionary.html">interface IDictionary
</a></td>
106 <td width=
"60%"> Represents a collection of key-and-value pairs.
110 <td width=
"30%"><a href=
"types/IDictionaryEnumerator.html">interface IDictionaryEnumerator
</a></td>
111 <td width=
"60%"> Enumerates the elements of a dictionary.
115 <td width=
"30%"><a href=
"types/IEnumerable.html">interface IEnumerable
</a></td>
116 <td width=
"60%"> Exposes the enumerator, which supports a simple iteration over a collection.
120 <td width=
"30%"><a href=
"types/IEnumerator.html">interface IEnumerator
</a></td>
121 <td width=
"60%"> Supports a simple iteration over a collection.
125 <td width=
"30%"><a href=
"types/IHashCodeProvider.html">interface IHashCodeProvider
</a></td>
126 <td width=
"60%"> Supplies a hash code for an object, using a custom hash function.
130 <td width=
"30%"><a href=
"types/IList.html">interface IList
</a></td>
131 <td width=
"60%"> Represents a collection of objects that can be individually accessed by index.
136 </dl><br><b>Structures
</b><dl>
138 <table border=
"1" width=
"90%" style=
"border-collapse: collapse">
140 <th bgcolor=
"#C0C0C0">Structure
</th>
141 <th bgcolor=
"#C0C0C0">
146 <td width=
"30%"><a href=
"types/DictionaryEntry.html">structure DictionaryEntry
</a></td>
147 <td width=
"60%"> Defines a dictionary key-and-value pair that can be set or retrieved.
152 </dl><br><b>Namepace hierarchy
</b><br><ul class=
"none">
153 <li><a href=
"../System/types/Object.html">System.Object
</a></li>
155 <li><a href=
"../System.Collections/types/ArrayList.html">System.Collections.ArrayList
</a> ---
<a href=
"../System.Collections/types/IList.html">System.Collections.IList
</a>,
<a href=
"../System.Collections/types/ICollection.html">System.Collections.ICollection
</a>,
<a href=
"../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable
</a>,
<a href=
"../System/types/ICloneable.html">System.ICloneable
</a></li>
158 <li><a href=
"../System.Collections/types/BitArray.html">System.Collections.BitArray
</a> ---
<a href=
"../System.Collections/types/ICollection.html">System.Collections.ICollection
</a>,
<a href=
"../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable
</a>,
<a href=
"../System/types/ICloneable.html">System.ICloneable
</a></li>
161 <li><a href=
"../System.Collections/types/CaseInsensitiveComparer.html">System.Collections.CaseInsensitiveComparer
</a> ---
<a href=
"../System.Collections/types/IComparer.html">System.Collections.IComparer
</a></li>
164 <li><a href=
"../System.Collections/types/CaseInsensitiveHashCodeProvider.html">System.Collections.CaseInsensitiveHashCodeProvider
</a> ---
<a href=
"../System.Collections/types/IHashCodeProvider.html">System.Collections.IHashCodeProvider
</a></li>
167 <li><a href=
"../System.Collections/types/CollectionBase.html">System.Collections.CollectionBase
</a> ---
<a href=
"../System.Collections/types/IList.html">System.Collections.IList
</a>,
<a href=
"../System.Collections/types/ICollection.html">System.Collections.ICollection
</a>,
<a href=
"../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable
</a></li>
170 <li><a href=
"../System.Collections/types/Comparer.html">System.Collections.Comparer
</a> ---
<a href=
"../System.Collections/types/IComparer.html">System.Collections.IComparer
</a></li>
173 <li><a href=
"../System.Collections/types/DictionaryBase.html">System.Collections.DictionaryBase
</a> ---
<a href=
"../System.Collections/types/IDictionary.html">System.Collections.IDictionary
</a>,
<a href=
"../System.Collections/types/ICollection.html">System.Collections.ICollection
</a>,
<a href=
"../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable
</a></li>
176 <li><a href=
"../System.Collections/types/Hashtable.html">System.Collections.Hashtable
</a> ---
<a href=
"../System.Collections/types/IDictionary.html">System.Collections.IDictionary
</a>,
<a href=
"../System.Collections/types/ICollection.html">System.Collections.ICollection
</a>,
<a href=
"../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable
</a>,
<a href=
"../System.Runtime.Serialization/types/ISerializable.html">System.Runtime.Serialization.ISerializable
</a>,
<a href=
"../System.Runtime.Serialization/types/IDeserializationCallback.html">System.Runtime.Serialization.IDeserializationCallback
</a>,
<a href=
"../System/types/ICloneable.html">System.ICloneable
</a></li>
179 <li><a href=
"../System.Collections/types/Queue.html">System.Collections.Queue
</a> ---
<a href=
"../System.Collections/types/ICollection.html">System.Collections.ICollection
</a>,
<a href=
"../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable
</a>,
<a href=
"../System/types/ICloneable.html">System.ICloneable
</a></li>
182 <li><a href=
"../System.Collections/types/ReadOnlyCollectionBase.html">System.Collections.ReadOnlyCollectionBase
</a> ---
<a href=
"../System.Collections/types/ICollection.html">System.Collections.ICollection
</a>,
<a href=
"../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable
</a></li>
185 <li><a href=
"../System.Collections/types/SortedList.html">System.Collections.SortedList
</a> ---
<a href=
"../System.Collections/types/IDictionary.html">System.Collections.IDictionary
</a>,
<a href=
"../System.Collections/types/ICollection.html">System.Collections.ICollection
</a>,
<a href=
"../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable
</a>,
<a href=
"../System/types/ICloneable.html">System.ICloneable
</a></li>
188 <li><a href=
"../System.Collections/types/Stack.html">System.Collections.Stack
</a> ---
<a href=
"../System.Collections/types/ICollection.html">System.Collections.ICollection
</a>,
<a href=
"../System.Collections/types/IEnumerable.html">System.Collections.IEnumerable
</a>,
<a href=
"../System/types/ICloneable.html">System.ICloneable
</a></li>
191 <li><a href=
"../System/types/ValueType.html">System.ValueType
</a></li>
193 <li><a href=
"../System.Collections/types/DictionaryEntry.html">System.Collections.DictionaryEntry
</a></li>
196 </ul><br><i><a href=
"../documentation_license.txt">
197 Copyright (c)
2002 Microsoft Corporation. All rights reserved.